package com.puppet.building182.service;

import com.puppet.building182.pojo.DTO.HouseDto;
import com.puppet.building182.pojo.House;
import com.puppet.building182.pojo.VO.HouseState;
import com.puppet.building182.pojo.VO.HouseVo;

import java.util.List;

public interface HouseService {
   Integer countHouseByBuildingId(Integer id);

   List<HouseVo> getHouseIdAnd();

   Integer addHouse(House house);

   Integer deleteById(Integer id);

   Integer deleteHouse(List<Integer> house);

   List<House> getHouse(HouseDto houseDto);

   House getHouseById(Integer id);

   List<HouseState> getState();

   Integer updateHouse(House house);
}
